package cn.com.surker.enums.production;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年07月02 13:13
 * @desc
 */
public enum LineTypeEnum implements IDescription {

    LINE(0,"上线"), WAIT(1,"待命"),
    MINE_LINE(2,"矿山上线"), MINE_WAIT(3,"矿山待命");

    private final String description;

    private final Integer code;

    LineTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
